package com.joysuch.wwyt.bp.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class BpDeviceFacilityCheckRecordBean implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("设备id")
    private Long deviceFacilityId;
    private String deviceFacilityName;

    @ApiModelProperty("检查日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date checkTime;

    @ApiModelProperty("检查人id")
    private Long checkPersonId;
    private String checkPersonName;

    @ApiModelProperty("检查部门id")
    private Long checkDepartId;
    private String checkDepartName;

    @ApiModelProperty("负责部门id")
    private Long chiefDepartId;
    private String chiefDepartName;

    @ApiModelProperty("检查内容")
    private String checkContent;

    @ApiModelProperty("检查结果")
    private String checkResult;

    @ApiModelProperty("检查状态 :正常 异常")
    private String checkState;

    @ApiModelProperty("检查指标")
    private String checkIndicators;

    @ApiModelProperty("预警值")
    private String warnValue;

    @ApiModelProperty("联锁值")
    private String lockValue;

    //下次检查日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date checkValidityDate;
}
